package com.lgc.login

import com.lgc.login.net.LoginReqBody
import com.lgc.service.network.BaseCniaoRsp
import retrofit2.Call
import retrofit2.http.Body
import retrofit2.http.GET
import retrofit2.http.POST
import retrofit2.http.Query

interface LoginService {
    @GET("accounts/phone/is/register")
    suspend fun isRegister(@Query("mobi") mobi:String) : Call<BaseCniaoRsp>

    @POST("accounts/course/10301/login")
    suspend fun login(@Body reqBody: LoginReqBody): Call<BaseCniaoRsp>
}